home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000351_news@newsmaster….columbia.edu _Fri Mar 27 14:09:05 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA25036
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 27 Mar 1998 14:09:04 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA18639
for kermit.misc@watsun; Fri, 27 Mar 1998 14:09:04 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Do math in Kermit on Linux ?
Date: 27 Mar 1998 19:09:03 GMT
Organization: Columbia University
Lines: 13
Message-ID: <6fgtgf$shm$1@apakabar.cc.columbia.edu>
References: <6fgr68$ref$1@eskinews.eskimo.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8549
In article <6fgr68$ref$1@eskinews.eskimo.com>, E <my@email.addr> wrote:
: I ran kermit 6 for the first time yesterday. I need to find out if kermit 6
: supports mathematical computation.
:
Yes it does (integer only). As noted on page 35 of "Using C-Kermit", you
can put an arithmetic expression (possibly containing variables) in most
places where you could put a number. Arithmetic expressions support regular
mathematical notation -- parentheses for grouping, fourteen different
arithmetic and logical operators with well-defined precedence, etc.
And as noted on page 394, there is also a selection of arithmetic functions.
Plus you can define your own functions, even recursive ones.
- Frank